Summary

Allows authenticated users to store data in Content Studio from a Web page. As an option it can also be used for anonymous users but this must be done via the DelegateHttprequest functionality which is an insecure solution. For Anonymous users you should use Anonymous Writer instead. 

Component properties
Category AS EPT
Version 4.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages Unspecified or not applicable
Output content type inline

When to use

This component is typically used to allow authenticated users to store data in Content Studio. Typical scenarios are user blogs, guestbooks, page ranks, user feedback etc. 

Programming interface

Parameters

Category id
Specifies the default category to store EPT-data in if a category is not specified in the querystring.
Edit existing document
One of the following options:
  • Do not ask for check out.
  • Ask for check out.
  • Always check out the document.
If the document has been modified
Save
One of the following save actions to perform:
  • Do not save changes and do not ask.
  • Ask for save changes.
  • Always save changes and dont ask.
Check in
One of the following check in actions to perform:
  • Do not check in the document and do not ask.
  • Ask for check in the document.
  • Always check in the document and do not ask.
 
If the document has not been modified
Save
One of the following save actions to perform:
  • Do not save and do not ask.
  • Ask for save
  • Always save and do not ask.
Check in
One of the following check in actions to perform:
  • Do not check in the document and do not ask.
  • Ask for check in the document.
  • Always check in the document and do not ask.
Save state
What state should be performed for all saving settings above
One of the following actions:
  • Save only.
  • Save and send for revision.
  • Save and approve
Edit existing document
Disable editing on a existing document
Only new documents can be created and editing of existing documents is not allowed.
Clientside java events.
Each one of these paramters accepts the name of a clisent side Java Script function the will be triggered by Content Studio when the corresponding event occur. All "Before"-events should trigger a function that returns a boolean (true/false).
The "OnX"-event will be cancelled if the "OnBeforeX"-event returns false.
  • OnPageLoad
  • OnBeforePageLoad
  • OnBeforeDocumentSave
  • OnBeforeDocumentCreate
  • OnBeforeDocumentPreview
  • OnBeforeDocumentCheckIn
  • OnBeforeDocumentCheckOut
  • OnBeforeDocumentApprove
  • OnBeforeDocumentReject
  • OnBeforeDocumentDelete
  • OnDocumentSave
  • OnDocumentCreate
  • OnDocumentCheckIn
  • OnDocumentCheckOut
  • OnDocumentApprove
  • OnDocumentReject
  • OnDocumentDelete
  • OnBeforePerformUserAction
  • OnPerformUserAction
Anonymous access
Enable anonymous access
Specifies whether or not to enable anonymous access for the Document Writer 4.0. If anonymous access is enabled, you must also enable delegate http requests with the setting "UseDelegateRequestAll", this setting is found in Site-properties, Settings. This option should be enabled only as a last resort, if possible consider using the Anonymous Writer component instead if anonymous support is required.

Remarks

Document Writer 4.0 is typically used in an edit templates. All functionality will only work in Internet Explorer 6 or later as well as in Mozilla FireFox. Document Writer 4.0 is intended to be used with EPT-buttons and should be placed at the top of the edit template.